package com.roadjava.rbac.enums;


public enum YesNoEnum {
    Y(1,"是"),
    N(0,"否"),
    ;
    private final Integer code;
    private final String desc;
    YesNoEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
